<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>Livestream API for web developers - example</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
        <script type="text/javascript">
            params = { AllowScriptAccess: 'always' };
            function livestreamPlayerCallback(event) {
                if (event == 'ready') {
                    player = document.getElementById("livestreamPlayer");
                    player.setDevKey('9ft5v-kqkuwLaM4tmBNQJgq2WRaF7ohRHpMiCvg7ndUbKqDqDA11YojE5N5eLCWSxm-b718JYV7U4cVi_x4uXky1z8CpqZL6MWe5771BOeg');
                    player.load('livestreamapi43');	
                }
 
                log = document.getElementById('log');
                log.innerHTML = log.innerHTML + '<br/>' + event; 
            }
            swfobject.embedSWF("http://cdn.livestream.com/grid/LSPlayer.swf?channel=lyffschannel",
            "livestreamPlayer", "480", "360", "9.0.0", "expressInstall.swf", null, params);
        </script>
    </head>
    <body>
        <var id="livestreamPlayer">
<!--            <h1>This page requires flash</h1>
            <a href="http://www.adobe.com/go/getflashplayer">download flash</a>-->
        </var>
        
<!--        <input class="button" type="button" value="play" onclick="player.startPlayback()"/>
        <input class="button" type="button" value="pause" onclick="player.stopPlayback()"/>
        <input class="button" type="button" value="vol +" onclick="player.volumeUp()"/>
        <input class="button" type="button" value="vol -" onclick="player.volumeDown()"/>
              -->
    </body>
</html>